package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <desc>
 *      消费记录表实体类
 * </desc>
 *
 * @createDate 2020/07/16
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ItlTables("consume_record_info")
public class ConsumeRecordInfoPO extends BasePO implements Serializable{
    @ItlField(value = "consume_id",logicKey = "key")
    private String consumeId;                //逻辑主键 消费id
    @ItlField("room_id")
    private String roomId;                   //房间id
    @ItlField("project_id")
    private String projectId;                //项目id
    @ItlField("user_id")
    private String userId;                   //用户id
    @ItlField("houses_type")
    private Integer housesType;              //住户身份：1业主本人 2家属 3租客 4访客
    @ItlField("user_info")
    private String userInfo;                 //用户信息 二维码为用户手机号 刷卡为卡号
    @ItlField("pass_type")
    private Integer passType;                //通行方式,1二维码 2刷卡
    @ItlField("pass_time")
    private Date passTime;                   //通行时间
    @ItlField("device_unique")
    private String deviceUnique;             //项目id
    @ItlField("last_pass_count")
    private Integer lastPassCount;           //剩余通行次数
    @ItlField("create_user_id")
    private String createUserId;             //创建人id
    @ItlField("operate_user_id")
    private String operateUserId;            //操作人id

}
